<%@page import="de.mhu.mandalaui.Window"%>
<%@page import="de.mhu.demo.MandalaDemo"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

	<meta http-equiv="Content-Type" content="text/html; utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
<title>Insert title here</title>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="js/bootstrap-3.1.0/css/bootstrap.css">
<!-- Optional theme -->
<link rel="stylesheet" href="js/bootstrap-3.1.0/css/bootstrap-theme.css">

<script src="js/jquery-2.1.0.js"></script>
<script src="js/bootstrap-3.1.0/js/bootstrap.js"></script>

<!-- Latest compiled and minified JavaScript -->
<script src="js/knockout-3.0.0.js"></script>
</head>
<body>

<ul class="nav nav-tabs">
  <li class="active"><a href="#">Home</a></li>
  <li><a href="#">Profile</a></li>
  <li><a href="#">Messages</a></li>
</ul>

<ul>
<% 
out.flush();

//de.mhu.mandalaui.Window window = new de.mhu.demo.Demo01().createWindow();
Window window = MandalaDemo.getWindow(request,"demo01");
 if (window != null) window.doRender(response);


// ((de.mhu.mandalaui.Window)getServletContext().getAttribute("window")).doRender(out) ; %>
</ul>

</body>
</html>